package com.ttdc.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ttdc.pojo.OrderDetails;
import com.ttdc.pojo.OrderDetailsExample;

public interface OrderDetailsService {

	 int countByExample(OrderDetailsExample example);

	    int deleteByExample(OrderDetailsExample example);

	    int deleteByPrimaryKey(Integer odId);

	    int insert(OrderDetails record);

	    int insertSelective(OrderDetails record);

	    List<OrderDetails> selectByExample(OrderDetailsExample example);

	    OrderDetails selectByPrimaryKey(Integer odId);

	    int updateByExampleSelective(@Param("record") OrderDetails record, @Param("example") OrderDetailsExample example);

	    int updateByExample(@Param("record") OrderDetails record, @Param("example") OrderDetailsExample example);

	    int updateByPrimaryKeySelective(OrderDetails record);

	    int updateByPrimaryKey(OrderDetails record);
	    
	    List<OrderDetails> selectByAll();
}
